package com.cac.demo.dao.msDeliveryCrew;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

@Mapper
@Repository
public interface MsDeliveryCrewDao {
    /*配送人员查询*/
    public Page<HashMap> msDeliveryCrewSearch(@Param("bean") HashMap map, @Param("orderBy") String orderBy, @Param("keyWords") String keyWords);
    /*配送人员新增*/
    public int msDeliveryCrewInsert(@Param("map") Map map);
    /*配送人员修改*/
    public int msDeliveryCrewUpdate(@Param("map") Map map);
    /*配送人员删除*/
    public int msDeliveryCrewDelete(String msDeliveryCrewId);
    /*根据配送人员表主键查询*/
    public HashMap msDeliveryCrewFindId(String msDeliveryCrewId);
    public HashMap msDeliveryCrewFindName(String deliveryEmpName);
}
